/**
 * Copyright (c) 快宝网络 kuaidihelp.com Co., Ltd. All Rights Reserved 禁止外泄以及用于其它的商业用途
 */

import { Request, Response } from 'express';
import Mock from 'mockjs';
const { mock } = Mock;

export default {
  'POST /LargeAmountApply/accountVerify': (req: Request, res: Response) => {
    res.send({
      code: 0,
      msg: 'success',
      data: mock({
        is_has_cash_record: true,
        courier_is_forbidden_login: false,
        dak_is_forbidden_login: false,
        courier_account_cash_is_disabled: false,
        dak_account_cash_is_disabled: false,
        courier_bind_third_account_is_blocked: false,
        dak_bind_third_account_is_blocked: false,
        is_change_alipay_account: false,
        'alipay_account|1': ['123123123123', ''],
      }),
    });
  },
  'POST /LargeAmountApply/editApply': (req: Request, res: Response) => {
    res.send({
      code: 0,
      msg: 'message',
      data: {},
    });
  },

  'POST  /LargeAmountApply/uploadPic': (req: Request, res: Response) => {
    const result = {
      code: 0,
      msg: 'success',
      data: 'https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png',
    };
    return res.json(result);
  },
};
